﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CardFuelMgr.aspx.cs" Inherits="VehicleUI_Fuel_CardFuelMgr" %>

<%@ Register assembly="AspNetPager" namespace="Wuqi.Webdiyer" tagprefix="webdiyer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>无标题页</title>

    <script src="../../JavaScript/vmsJS.js" type="text/javascript"></script>
</head>
<body>
    <form id="form1" runat="server">
 <div id="SubMain"> <div id="S_Title">刷卡加油</div>
              <div id="Banner">
                <div id="Banner_Search" style=" visibility:hidden;">
                
                    车牌号：<asp:TextBox ID="txt_Search" runat="server"></asp:TextBox><asp:Button 
                        ID="btn_Search" runat="server" Text="查找" Height="20px" 
                        onclick="btn_Search_Click" />
                
                
                </div>
                <div id="Banner_Edit">
                <asp:ImageButton ID="btn_Add" runat="server" Text="" 
                        PostBackUrl="~/VehicleUI/Fuel/CardFuelAMV.aspx" onclick="btn_Add_Click" 
                        SkinID="ibtnAdd" />&nbsp;&nbsp;&nbsp;
                <asp:ImageButton ID="btn_Delete" runat="server" Text="" 
                    onclick="btn_Delete_Click" SkinID="ibtnSub" />&nbsp;</div>
             </div>
             <div id="Contant">
      <asp:GridView ID="GridView1" runat="server"  Width="862px" 
                    AutoGenerateColumns="False">
                <Columns>
                     
                    <asp:TemplateField>
                        <HeaderTemplate>
                            <asp:CheckBox ID="chk_All" runat="server"  Text="全选" onclick="javascript:SelectAllCheckboxes(this);" />
                        </HeaderTemplate>
                        <ItemTemplate>
                            <asp:CheckBox ID="chk" runat="server" />
                        </ItemTemplate>
                        <HeaderStyle Width="60px" />
                    </asp:TemplateField>
                     
                    <asp:BoundField DataField="ID" HeaderText="ID" >
                    <ItemStyle Width="40px" />
                    </asp:BoundField>
                    <asp:BoundField DataField="VehicleID" HeaderText="车牌号" />
<asp:BoundField DataField="FrameNO" HeaderText="车架号"></asp:BoundField>
<asp:BoundField DataField="ChargeTime" HeaderText="加油时间"></asp:BoundField>
                    <asp:BoundField DataField="ChargeAmount" HeaderText="金额" />
                    <asp:BoundField DataField="Balance" HeaderText="余额" />
                    <asp:BoundField DataField="OrganID" HeaderText="机构编号" Visible="False" />
                        <asp:TemplateField>
                        <ItemTemplate>
                        <a href='CardFuelAMV.aspx?ID=<%#Eval("ID")%>&Type=Edit'>修改</a>
                        </ItemTemplate>
                        <ItemStyle Width="40px" />
                        </asp:TemplateField>
                        <asp:TemplateField>
                        <ItemTemplate>
                        <a href='CardFuelAMV.aspx?ID=<%#Eval("ID")%>&Type=View'>详细</a>
                        </ItemTemplate>
                        <ItemStyle Width="40px" />
                        </asp:TemplateField>
                </Columns>
                <EmptyDataTemplate>
                    <asp:Literal ID="Literal1" runat="server" Text="暂无数据！"></asp:Literal>
                </EmptyDataTemplate>
        </asp:GridView>
                 <webdiyer:AspNetPager ID="AspNetPager1" runat="server"
        onpagechanged="AspNetPager1_PageChanged" CssClass="anpager"
        CurrentPageButtonClass="cpb" FirstPageText="首页" LastPageText="尾页"
        NextPageText="后页" PrevPageText="前页" HorizontalAlign="Right" PageSize="10">
    </webdiyer:AspNetPager>
              </div>
        </div>
    
    </form>
</body>
</html>
